﻿
@{
    ViewData["Title"] = "TransferAdd";
    Layout = "~/Views/Home/Main.cshtml";
}

<h4>仓库管理/转库管理/转库添加</h4>

<form class="layui-form" action="">
    <div>
        <h4 class="basic-info-title" style="text-align:center;margin-bottom:15px">基本信息</h4>
        <div class="layui-form-item ">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">出库名称</label>
                <div class="layui-input-block">
                    <input type="text" id="inventoryName" name="inventoryName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">出库编号</label>
                <div class="layui-input-block">
                    <input type="text" id="inventoryNo" name="inventoryNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item ">
            <div class="layui-form-item layui-inline layui-col-xs5">
                <label class="layui-form-label">出库日期</label>
                <div class="layui-input-inline">
                    <input type="text" name="inventoryDate" id="inventoryDate" required lay-verify="required" placeholder="请选择日期" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">订单编号</label>
                <div class="layui-input-block">
                    <input type="text" id="orderNo" name="orderNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-inline layui-col-xs8">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" id="inventoryRemark" name="inventoryRemark" class="layui-textarea"></textarea>
            </div>
        </div>
    </div>

    <div style="margin-top:15%">
        <h4 class="basic-info-title" style="text-align:center;margin-bottom:15px">转库明细</h4>
        <div class="layui-form-item">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">成品名称</label>
                <div class="layui-input-block">
                    <input type="text" id="finishedProductName" name="finishedProductName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">成品编号</label>
                <div class="layui-input-block">
                    <input type="text" id="finishedProductNo" name="finishedProductNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">规格型号</label>
                <div class="layui-input-block">
                    <input type="text" id="specificationNo" name="specificationNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">单位</label>
                <div class="layui-input-block">
                    <select id="inventoryUnit" name="inventoryUnit" lay-verify="required" lay-filter="aihao">
                        <option value="" selected></option>
                        <option value="个">个</option>
                        <option value="箱">箱</option>
                        <option value="件">件</option>
                        <option value="台">台</option>
                        <option value="套">套</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">生产批次号</label>
                <div class="layui-input-block">
                    <input type="text" id="inventoryBatch" name="inventoryBatch" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">转库数量</label>
                <div class="layui-input-block">
                    <input type="text" id="inventoryNum" name="inventoryNum" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">仓库名称</label>
                <div class="layui-input-inline" style="width:120px">
                    <select name="warehouseId" id="warehouseId" lay-filter="kuqu">
                    </select>
                </div>
                <div class="layui-input-inline" style="width:120px">
                    <select name="reservoirId" id="reservoirId" lay-filter="kuwei">
                    </select>
                </div>
                <div class="layui-input-inline" style="width:120px">
                    <select name="binLocationId" id="binLocationId">
                    </select>
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">生产日期</label>
                <div class="layui-input-inline">
                    <input type="text" name="produceDate" id="produceDate" required lay-verify="required" placeholder="请选择日期" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">仓库负责人</label>
                <div class="layui-input-block">
                    <input type="text" id="warehouseHead" name="warehouseHead" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-inline layui-col-xs5">
                <label class="layui-form-label">调库日期</label>
                <div class="layui-input-inline">
                    <input type="text" name="adjustTheLibraryDate" id="adjustTheLibraryDate" required lay-verify="required" placeholder="请选择日期" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
    </div>

    <div>
        <div class="layui-input-block">
            <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Warehouse/InventoryShow'">取消</button>
            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
        </div>
    </div>
</form>
<script src="~/js/warehouse/transferadd.js"></script>